package com.music.profile.dao.impl;

import java.util.Date;

import com.music.profile.beans.Member;
import com.music.profile.constants.Gender;

public interface MemberDAO {

	public abstract Long createMember(String firstName, String lastName,
			String password, Date birthDate, Gender gender, String email);

	public abstract boolean updateMember(Member member);

	public abstract Member getMember(Long memberId);

	/**
	 * Delete the member. Makes use of transactions.
	 * @param memberId
	 * @return
	 */
	public abstract boolean deleteMember(Long memberId);

}